package com.company.utils;

import java.util.Iterator;
import java.util.List;

/**
 * @author lei
 * 2012-11-24 下午6:29:22
 * Email:leihelloworld@163.com
 */
public class TestReader {

	public static void main(String[] args) {
		ExcelReader excelReader =  new ExcelReader("H:\\test.xlsx");
		List<String[]> list = excelReader.getAllData(0);
//		System.out.println((list.get(0))[0]);
		for(Iterator<String[]> it=list.iterator();it.hasNext();){
			String[] datas = it.next();
			for(int i = 0;i<datas.length;i++){
				System.out.print(datas[i]+"  ");
			}
			System.out.println();
		}

		
	}

}
